import { _decorator, Component, Node } from 'cc';
import { Plant } from './Plant';
const { ccclass, property } = _decorator;

@ccclass('Sunflower')
export class Sunflower extends Plant {

  @property(Number)
  produceTimer: number = 0

   // 激活状态
   enableUpdate() {
    super.enableUpdate();
   }

    // 生产阳光
    produceSun() {
      // TODO: 生产阳光
    }
}


